//
//  ConpanyLookMeCell.m
//  Btpin
//
//  Created by Vic on 2019/3/30.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "ConpanyLookMeCell.h"

@interface ConpanyLookMeCell ()
{
    WorkerBaseView *baseView;
}
@end

@implementation ConpanyLookMeCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self initUI];
    }
    return self;
}
- (void)initUI {
    baseView = [[WorkerBaseView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, 95*Scale)];
    [self.contentView addSubview:baseView];
    
    UIView *lineView = [UIToolsControl initViewWithFrame:CGRectMake(0, EndY(baseView)+15*Scale, WIDTH, 8*Scale) backgroundColor:THEMECOLOR_OF_GRAY];
    [self.contentView addSubview:lineView];
}
- (void)reloadData {
    [baseView reloadData];
}
- (void)reloadDataModel:(WorkerModel *)model {
    [baseView reloadDataModel:model];
}

- (void)awakeFromNib {
    [super awakeFromNib];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
